<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/security/tags"
	prefix="sec"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ include file="jsp/commons/headfiles-jquery.jsp"%>
<script type="text/javascript" src="scripts/index.js"></script>
<link href="css/index.css" rel="stylesheet" media="screen" />
<title>Insert title here</title>
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">

			<div class="container-fluid">
				<div class="logocnt">&nbsp;</div>
				<a class="btn btn-navbar" data-toggle="collapse"
					data-target=".nav-collapse"> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span>
				</a> <a class="brand" href="#">西安庆华公司生产辅助系统</a>
				<div class="nav-collapse collapse">

					<ul class="nav">
						<li class="active"><a href="#" onclick="desktop();">桌面 </a></li>
						<li><a href="views.jsp">数据浏览</a></li>
						<li><a href="#contact">帮助</a></li>
						
					</ul>

					<div class="pull-right">
					   <ul class="nav">
					      <li class="dropdown">
					        <a class="dropdown-toggle" role="button"
								data-toggle="dropdown" data-target="#" href="#">
								${loginUser.localName}<i class="caret"></i>
							</a>
					       <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
								<c:forEach items="${loginUser.authoritys}" var="auths">
									<li><a href="#">${auths.description}</a></li>
								</c:forEach>
							</ul>
					      
					      </li>
					      <li><a href="#">${loginUser.department.name}</a></li>
					      <li><a href="#">${loginUser.role.name}</a></li>
					      <li><a href="#" onclick="logout('${logouturl}');"> <span
								class="label label-important"><i class="icon-off"></i>退出</span></a></li>
					   </ul>
					
					    
					
						 
						
						
					</div>
					
				</div>
				<!--/.nav-collapse -->
			</div>
		</div>
	</div>

	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span3">

				<div class="well sidebar-nav">
					<ul id="mytree" class="ztree">

					</ul>

				</div>
				<!--/.well -->
			</div>
			<!--/span-->
			<div class="span9">
				<div class="hero-unit" id="contentbody">
					<%@ include file="jsp/desktop.jsp"%>
				</div>
				<!--/row-->

			</div>
			<!--/span-->
		</div>
		<!--/row-->
		<div class="row-fluid">
			<p>&copy; Company 2012</p>
		</div>
	</div>
	<!--/.fluid-container-->
	<iframe style="display: none" name="pdtframe"></iframe>
</body>
</html>